home *** CD-ROM | disk | FTP | other *** search
/ Nebula 2 / Nebula Two.iso / SourceCode / MiscKit1.7.1 / MiscKit / Source / MiscMergeKit / _MiscMergeEndifCommand.m < prev    next >
Encoding:
Text File  |  1995-07-08  |  905 b   |  31 lines

  1. //
  2. //    _MiscMergeEndifCommand.m -- "endif" merge command implementation
  3. //        Written by Don Yacktman Copyright (c) 1995 by Don Yacktman.
  4. //                Version 1.0.  All rights reserved.
  5. //        This notice may not be removed from this source code.
  6. //
  7. //    This object is included in the MiscKit by permission from the author
  8. //    and its use is governed by the MiscKit license, found in the file
  9. //    "LICENSE.rtf" in the MiscKit distribution.  Please refer to that file
  10. //    for a list of all applicable permissions and restrictions.
  11. //    
  12.  
  13.  
  14. #import <misckit/miscmerge.h>
  15. #import "_MiscMergeEndifCommand.h"
  16.  
  17. @implementation _MiscMergeEndifCommand
  18.  
  19. - parseFromString:(MiscString *)aString
  20. {    // no need to keep arguments around, so we just drop it all
  21.     return self;
  22. }
  23.  
  24. - executeForMerge:(MiscMergeEngine *)aMerger
  25. { // The MiscIfStack object has all the if/then/else logic in it.
  26.     [[aMerger ifStack] endIf];
  27.     return self;
  28. }
  29.  
  30. @end
  31.